package com.coffee.rocketmq;

import java.time.LocalDateTime;

/**
 * @author songkui
 * @since 2024/2/27 11:21
 */
public interface MochaMQMessage<T> {
    String getKey();   // use this key to select queue. for example: orderId, productId ...
    LocalDateTime getSendTime();
    T getPayload();

}
